package cn.com.bluemoon.daps.system.vo;

import lombok.Getter;
import lombok.Setter;

import java.util.StringJoiner;

/**
 * @author Jarod.Kong
 */
@Getter
@Setter
public class SysDataSourceConnInfo {
    private String dbType;
    private String host;
    private String port;
    private String databaseName;
    private String executionEngine;

    @Override
    public String toString() {
        return new StringJoiner(", ", "", "")
                .add("ip:" + host + "")
                .add("库名:" + databaseName + "")
                .toString();
    }
}
